﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BrightstarDB.EntityFramework;

namespace SmartTravelAssistant.Models
{
    [Entity("http://schema.org/Review")]    
    public interface IReview
    {
        /// <summary>
        /// Get the persistent identifier for this entity
        /// </summary>
       // string Id { get; }

        // TODO: Add other property references here
        [Identifier("http://SmartTravelAssistant.ro/Review/")] 
        string Id { get; }


       // [PropertyType("http://schema.org/about")]
        //string About { get; set; }

        [PropertyType("http://schema.org/aggregateRating")]
        string Rating { get; set; }

        [PropertyType("http://schema.org/author")]
        IPerson Author { get; set; }

        
        ITrip Trip { get; set; }

        [PropertyType("http://schema.org/comment")]
        string Comment { get; set; }

        [PropertyType("http://schema.org/datePublished")]
        DateTime datePublished { get; set; }

        [PropertyType("http://schema.org/interactionCount")]
        string interactionUser { get; set; }

       
    }
}
